/**
 * 设置token
 */
export function set_token(token) {
    let localStorage = window.localStorage;
    localStorage.setItem("token", token)
}

/**
 * 获取token
 */
export function get_token() {
    let localStorage = window.localStorage;
    return localStorage.getItem("token");
}

/**
 * 移除token
 */
export function remove_token() {
    let localStorage = window.localStorage;
    localStorage.removeItem("token");
    localStorage.removeItem("userInfo")
}
